package com.cc.service;

import com.cc.entity.SysUser;

public interface ISysUserService {
    /**
     * 根据用户名和密码进行登录[传统]
     * @param sysUser
     * @return
     */
    SysUser login(SysUser sysUser);

    /**
     * 根据身份查询用户信息[shiro]
     * @param principal
     * @return
     */
    SysUser queryUserByPrincipal(String principal);
}
